<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="jpath" value="${pageContext.request.contextPath}" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
	<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
     <link rel="stylesheet" href="${jpath}/static/plugins/Frontend/css/rzcp.css" />
<title>融资产品</title>
<script type="text/javascript">
var perDiv=null;
function chgColor(_this)
{
if(perDiv) perDiv.style.backgroundColor='';
_this.style.backgroundColor='#2F66A9';
perDiv=_this;
}
function loadNews(pageNum,id){
	$.post("${jpath}/frontend/manager/findPages1",{pageNum:pageNum,pageSize:5,id:id},function(data){
		var jsonArr = $.parseJSON(data);
		var json=jsonArr.obj.results;
		var newsHtml="";
		for(var i=0;i<json.length;i++){
		newsHtml+='	<div class="row">';
		newsHtml+='<div class="style">';
		newsHtml+='<div style="margin-left:10px"><div class="col-xs-5 right-div delet-padding ">';
		newsHtml+='<div class="right-div-font">'+json[i].je+'万元</div>';
		newsHtml+='<div class="right-div1-font">土地融资贷款</div>';
		newsHtml+=' </div></div>';
		newsHtml+='<div class="col-xs-7 right-div2-style delet-padding">';
		newsHtml+='<div class="right-div2-zt" style="padding-top:5px;">公司规模： 小微企业 </div>';
		newsHtml+='<div class="right-div2-zt">融资周期： 短期</div>';
		newsHtml+='<div class="right-div2-zt">联系我们：'+json[i].lxwm+'</div>';
		newsHtml+='<div class="right-div2-zt1">时限：'+json[i].sx+'</div>';
		newsHtml+='</div>';
		newsHtml+='</div>';
		newsHtml+='</div>';
		}
		$("#myTabContent").append(newsHtml);
	});
}
$(function(){
 loadNews(1,5);

 
 	});
</script>
</head>
<body>
	<div class="container">
			<div class="row top-style" >
       <div class="col-xs-3">
          <img src="${jpath}/static/plugins/Frontend/picture/picture/jricon1/fh2.png" class="dh-img" style="margin-left:1rem;"/>
      </div> 
      <div class="col-xs-6" style="text-align:center;line-height: 40px;font-weight: bold;color:#fff;">
          相关产品
      </div> 
        <div class="col-xs-3">
          <img src="${jpath}/static/plugins/Frontend/img/tj.png" class="dh-img"  style="margin-left: 30px;"/>
      </div> 
	</div>

	<div class="row">
		<div class="col-xs-4  delet-padding">
		 <c:forEach var="cplx" items="${cpfl}" varStatus="lmStruts">
  <div class="left-div-style left-font bj-style"  onclick="chgColor(this)">
     <c:if test="${lmStruts.index==0}">
    	
     </c:if>
       ${cplx.hymc}</div>
     </c:forEach>
			
			
		</div>
		<div id="myTabContent" class="col-xs-8 delet-padding right-div-style" >
	
		</div>
	</div>
	</div>
	
</body>
</html>